package com.cos.lession68.dao;

import com.cos.lession68.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author: COS
 * @time: 2022/9/22 9:25
 * @description:
 */
public interface EmpMapper_old {
    /* 查询员工名和部门名称 */
    List<Emp> getEmpWithDept();


    List<Emp> getAll();

    List<Emp> getEmpByMap(Map<String, Object> args);

    Emp getEmpByEno(@Param("eno") int eno);

    int addEmp(Emp emp);
}
